package com.mxpio.erp.common.oa.service;

import com.mxpio.erp.common.oa.entity.OaInvoice;
import com.mxpioframework.common.vo.Result;
import com.mxpioframework.system.service.BaseService;

import java.util.Map;

public interface OaInvoiceService extends BaseService<OaInvoice> {
    Result<OaInvoice> saveAll(OaInvoice invoice);

    Result<?> submit(String key, String loginUsername, String businessKey, Map<String, Object> properties);

    Result<?> submitOK(OaInvoice invoice);
}
